<template>
<!--公司概要 => 公司概要组件-->
<div class="company_outline">
	<div class="title">{{ $lang('COMPANY_INTRODUCE') }}</div>
	<ul class="clearfix">
		<li><span>{{ $lang('MAIN_BUSINESS') }} : </span><span>{{$i18n.locale == 'zh'?Company.zhMainBusiness || $lang('No_information'):Company.enMainBusiness || $lang('No_information')}}</span></li>
		<li><span>{{ $lang('BELONG_INDUSTRY') }} : </span><span>{{$i18n.locale == 'zh'?Company.industryZhName || $lang('No_information'):Company.industryEnName || $lang('No_information')}}</span></li>
		<li><span>{{ $lang('PE_RATIO_DYNAMIC') }} : </span><span>{{Company.dynamicPER || $lang('No_information')}}</span></li>
		<li><span>{{ $lang('EARNINGS_PER_SHARE') }} : </span><span>{{Company.earningsPerShare || $lang('No_information')}}{{$lang('RMB')}}</span></li>
		<li><span>{{ $lang('ACCUMULATION_PER_SHARE') }} : </span>{{Company.capitalReservePerShare || $lang('No_information')}}{{$lang('RMB')}}<span></span></li>
		<li><span>{{ $lang('CLASSIFICATION') }} : </span><span>{{Company.stockClassify || $lang('No_information')}}</span></li>
		<li><span>{{ $lang('PE_RATIO_STATIC') }} : </span><span>{{Company.staticPER || $lang('No_information')}}</span></li>
		<li><span>{{ $lang('BUSSINESS_INCOME') }} : </span><span>{{Company.operationRevenue || $lang('No_information')}}</span></li>
		<li><span>{{ $lang('UNDISTRIBUTED_PROFIT_PER_SHARE') }} : </span><span>{{Company.undistributedProfits || $lang('No_information')}}{{$lang('RMB')}}</span></li>
		<li><span>{{ $lang('TOTAL_CAPITAL_STOCK') }} : </span><span>{{Company.generalCapital || $lang('No_information')}}{{$lang('Billion_shares')}}</span></li>
		<li><span>{{ $lang('CITY_NET_RATE') }} : </span><span>{{Company.pbr || $lang('No_information')}}</span></li>
		<li><span>{{ $lang('NET_PROFIT') }} : </span><span>{{Company.netProfits || $lang('No_information')}}{{$lang('Billion')}}</span></li>
		<li><span>{{ $lang('CASH_FLOW_PER_SHARE') }} : </span><span>{{Company.operatingCashFlowPerShare || $lang('No_information')}}{{$lang('RMB')}}</span></li>
		<li><span>{{ $lang('TOTAL_MARKET_VALUE') }} : </span><span>{{Company.marketCap || $lang('No_information')}}{{$lang('Billion2')}}</span></li>
		<li><span>{{ $lang('NET_ASSET_VALUE_PER_SHARE') }} : </span><span>{{Company.netAssetValuePerShare || $lang('No_information')}}{{$lang('RMB')}}</span></li>
		<li><span>{{ $lang('CROSS_INTEREST_RATE') }} : </span><span>{{Company.grossProfitRate || $lang('No_information')}}</span></li>
		<li><span>{{ $lang('NET_ASSETS_YIELD') }} : </span><span>{{Company.roe || $lang('No_information')}}%</span></li>
		<li><span>{{ $lang('CIRCULATE_OF_SHARE') }} : </span><span>{{Company.circulationAShares || $lang('No_information')}}{{$lang('Billion_shares')}}</span></li>
		<li><span>{{ $lang('LATEST_RELEASE_OFBAN') }} : </span><span>{{Company.unrestrictedDate || $lang('No_information')}}</span></li>
		<li><span>{{ $lang('LATEST_RELEASE_OFBAN_TYPE') }} : </span><span>{{Company.unrestrictedStockClassify || $lang('No_information')}}</span></li>
		<li><span>{{ $lang('RELEASE_OFBAN_NUM') }} : </span><span>{{Company.unrestrictedCount || $lang('No_information')}}{{$lang('Million_shares')}}</span></li>
		<li><span>{{ $lang('PROPORT_OF_TOTAL_CAPITAL_STOCK') }} : </span><span>{{Company.ratioInTotalShare * 100}}%</span></li>
	</ul>
</div>
</template>

<script>
import { gets } from "@/api/api.js";
export default {
	data(){
		return {
			Company: []
		}
	},
    methods:{
        async getCompany() {
            let that = this
            try {
                // 获取企业列表
                let res = await gets.searchCompanyList("/company/find-financial-info.json", {
                    id: that.$store.state.common.companyId
                });
                that.Company = res.data
            } catch (e) {
                console.log(e)
                throw e;
            }
        }
    },
    created() {
        this.getCompany()
    }
}
</script>

<style>
#company_outline .container > .company_outline{
    border-top: 0 !important;
}
</style>